﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003D1 RID: 977
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DiscardRelicCsReq : IMessage<DiscardRelicCsReq>, IMessage, IEquatable<DiscardRelicCsReq>, IDeepCloneable<DiscardRelicCsReq>, IBufferMessage
	{
		// Token: 0x17000C77 RID: 3191
		// (get) Token: 0x06002B8D RID: 11149 RVA: 0x000780E9 File Offset: 0x000762E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DiscardRelicCsReq> Parser
		{
			get
			{
				return DiscardRelicCsReq._parser;
			}
		}

		// Token: 0x17000C78 RID: 3192
		// (get) Token: 0x06002B8E RID: 11150 RVA: 0x000780F0 File Offset: 0x000762F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DiscardRelicCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C79 RID: 3193
		// (get) Token: 0x06002B8F RID: 11151 RVA: 0x00078102 File Offset: 0x00076302
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DiscardRelicCsReq.Descriptor;
			}
		}

		// Token: 0x06002B90 RID: 11152 RVA: 0x00078109 File Offset: 0x00076309
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DiscardRelicCsReq()
		{
		}

		// Token: 0x06002B91 RID: 11153 RVA: 0x0007811C File Offset: 0x0007631C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DiscardRelicCsReq(DiscardRelicCsReq other) : this()
		{
			this.fJKGBMGLLGL_ = other.fJKGBMGLLGL_;
			this.isDiscard_ = other.isDiscard_;
			this.relicUniqueIdList_ = other.relicUniqueIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002B92 RID: 11154 RVA: 0x00078169 File Offset: 0x00076369
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DiscardRelicCsReq Clone()
		{
			return new DiscardRelicCsReq(this);
		}

		// Token: 0x17000C7A RID: 3194
		// (get) Token: 0x06002B93 RID: 11155 RVA: 0x00078171 File Offset: 0x00076371
		// (set) Token: 0x06002B94 RID: 11156 RVA: 0x00078179 File Offset: 0x00076379
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool FJKGBMGLLGL
		{
			get
			{
				return this.fJKGBMGLLGL_;
			}
			set
			{
				this.fJKGBMGLLGL_ = value;
			}
		}

		// Token: 0x17000C7B RID: 3195
		// (get) Token: 0x06002B95 RID: 11157 RVA: 0x00078182 File Offset: 0x00076382
		// (set) Token: 0x06002B96 RID: 11158 RVA: 0x0007818A File Offset: 0x0007638A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsDiscard
		{
			get
			{
				return this.isDiscard_;
			}
			set
			{
				this.isDiscard_ = value;
			}
		}

		// Token: 0x17000C7C RID: 3196
		// (get) Token: 0x06002B97 RID: 11159 RVA: 0x00078193 File Offset: 0x00076393
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> RelicUniqueIdList
		{
			get
			{
				return this.relicUniqueIdList_;
			}
		}

		// Token: 0x06002B98 RID: 11160 RVA: 0x0007819B File Offset: 0x0007639B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DiscardRelicCsReq);
		}

		// Token: 0x06002B99 RID: 11161 RVA: 0x000781AC File Offset: 0x000763AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DiscardRelicCsReq other)
		{
			return other != null && (other == this || (this.FJKGBMGLLGL == other.FJKGBMGLLGL && this.IsDiscard == other.IsDiscard && this.relicUniqueIdList_.Equals(other.relicUniqueIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002B9A RID: 11162 RVA: 0x0007820C File Offset: 0x0007640C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FJKGBMGLLGL)
			{
				num ^= this.FJKGBMGLLGL.GetHashCode();
			}
			if (this.IsDiscard)
			{
				num ^= this.IsDiscard.GetHashCode();
			}
			num ^= this.relicUniqueIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002B9B RID: 11163 RVA: 0x00078272 File Offset: 0x00076472
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002B9C RID: 11164 RVA: 0x0007827A File Offset: 0x0007647A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002B9D RID: 11165 RVA: 0x00078284 File Offset: 0x00076484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsDiscard)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.IsDiscard);
			}
			if (this.FJKGBMGLLGL)
			{
				output.WriteRawTag(56);
				output.WriteBool(this.FJKGBMGLLGL);
			}
			this.relicUniqueIdList_.WriteTo(ref output, DiscardRelicCsReq._repeated_relicUniqueIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002B9E RID: 11166 RVA: 0x000782F0 File Offset: 0x000764F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FJKGBMGLLGL)
			{
				num += 2;
			}
			if (this.IsDiscard)
			{
				num += 2;
			}
			num += this.relicUniqueIdList_.CalculateSize(DiscardRelicCsReq._repeated_relicUniqueIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002B9F RID: 11167 RVA: 0x00078344 File Offset: 0x00076544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DiscardRelicCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FJKGBMGLLGL)
			{
				this.FJKGBMGLLGL = other.FJKGBMGLLGL;
			}
			if (other.IsDiscard)
			{
				this.IsDiscard = other.IsDiscard;
			}
			this.relicUniqueIdList_.Add(other.relicUniqueIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002BA0 RID: 11168 RVA: 0x000783A5 File Offset: 0x000765A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002BA1 RID: 11169 RVA: 0x000783B0 File Offset: 0x000765B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 48U)
					{
						this.IsDiscard = input.ReadBool();
						continue;
					}
					if (num == 56U)
					{
						this.FJKGBMGLLGL = input.ReadBool();
						continue;
					}
				}
				else if (num == 120U || num == 122U)
				{
					this.relicUniqueIdList_.AddEntriesFrom(ref input, DiscardRelicCsReq._repeated_relicUniqueIdList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001136 RID: 4406
		private static readonly MessageParser<DiscardRelicCsReq> _parser = new MessageParser<DiscardRelicCsReq>(() => new DiscardRelicCsReq());

		// Token: 0x04001137 RID: 4407
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001138 RID: 4408
		public const int FJKGBMGLLGLFieldNumber = 7;

		// Token: 0x04001139 RID: 4409
		private bool fJKGBMGLLGL_;

		// Token: 0x0400113A RID: 4410
		public const int IsDiscardFieldNumber = 6;

		// Token: 0x0400113B RID: 4411
		private bool isDiscard_;

		// Token: 0x0400113C RID: 4412
		public const int RelicUniqueIdListFieldNumber = 15;

		// Token: 0x0400113D RID: 4413
		private static readonly FieldCodec<uint> _repeated_relicUniqueIdList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x0400113E RID: 4414
		private readonly RepeatedField<uint> relicUniqueIdList_ = new RepeatedField<uint>();
	}
}
